<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>过渡课后练习2</title>
    <style>
        div {
            width: 55px;
            height: 55px;
            background-color: pink;
            background: pink url("images/mi_logo.png") no-repeat 100% 0%;
            transition: all 0.5s;
        }

        div:hover {
            background-position: 0% 0%;
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>